package main

import (
	"fmt"

	"gitee.com/sillyman/simpleUtil/containers/set"
)

func main() {
	hset1 := set.NewHashSet[string](true)
	hset1.Add("a", "b", "c", "c")
	fmt.Printf("%#v\n", hset1.Slice())

	hset2 := set.NewHashSet[int](true)
	hset2.Add(1, 2, 3, 4, 4, 4, 4)
	fmt.Printf("%#v\n", hset2.Slice())
}
